package ${packageUrl}.base;

/**
 * 
 * @ClassName: BaseMapper   
 * @Description:基础mapper
 * @author: ${author}
 * @date:    ${date}
 */
import java.util.List;

public interface BaseMapper<Obj, Dto> {
	
	void insert(Obj obj);
	
	void delete(String id);
	
	void update(Obj obj);
	
	Obj queryById(String id);
	
	int count(Dto dto);
	
	List<Obj> list(Dto dto);
	
	
}
